package com.ruoyi.teacher.service.impl;

import com.ruoyi.teacher.domain.Teacher;
import com.ruoyi.teacher.mapper.TeacherMapper;
import com.ruoyi.teacher.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherServiceImpl implements TeacherService {

    @Autowired
    TeacherMapper mapper;

    @Override
    public List<Teacher> getTeacherList() {
        return mapper.queryAll();
    }

}
